function insertAfter(parent,node,referenceNode){parent.insertBefore(node,referenceNode.nextSibling);}function getElementsByClass(searchClass,node,tag){if(node==null)node=document;if(tag==null)tag='*';return getElementsByClassName(node,tag,searchClass);}function isClass(element,classe){return hasClass(element,classe);}function whichClass(element,classes){var s=" "+element.className+" ";for(var i=0;i<classes.length;i++)if(s.indexOf(" "+classes[i]+" ")>=0)return i;return-1;}function hasClass(node,className){var haystack=node.className;if(!haystack)return false;if(className===haystack){return true;}return(" "+haystack+" ").indexOf(" "+className+" ")>-1;}function addClass(node,className){if(hasClass(node,className)){return false;}var cache=node.className;if(cache){node.className=cache+' '+className;}else{node.className=className;}return true;}function removeClass(node,className){if(!hasClass(node,className)){return false;}node.className=eregReplace('(^|\\s+)'+className+'($|\\s+)',' ',node.
className);return true;}function eregReplace(search,replace,subject){return subject.replace(new RegExp(search,'g'),replace);}function getCookieVal(name){var cookiePos=document.cookie.indexOf(name+"=");var cookieValue=false;if(cookiePos>-1){cookiePos+=name.length+1;var endPos=document.cookie.indexOf(";",cookiePos);if(endPos>-1)cookieValue=document.cookie.substring(cookiePos,endPos);else cookieValue=document.cookie.substring(cookiePos);}return cookieValue;}function getTextContent(oNode){if(!oNode)return null;if(typeof(oNode.textContent)!="undefined"){return oNode.textContent;}switch(oNode.nodeType){case 3:case 4:return oNode.nodeValue;break;case 7:case 8:if(getTextContent.caller!=getTextContent){return oNode.nodeValue;}break;case 9:case 10:case 12:return null;break;}var _textContent="";oNode=oNode.firstChild;while(oNode){_textContent+=getTextContent(oNode);oNode=oNode.nextSibling;}return _textContent;}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(obj){for(var i=0;i<this.
length;i++){if(this[i]==obj){return i;}}return-1;}}if(!String.prototype.HTMLize){String.prototype.HTMLize=function(){var chars=new Array('&','<','>','"');var entities=new Array('amp','lt','gt','quot');var string=this;for(var i=0;i<chars.length;i++){var regex=new RegExp(chars[i],"g");string=string.replace(regex,'&'+entities[i]+';');}return string;}}function addLoadEvent(func){addOnloadHook(func);}function loadJs(page){importScript(page);}function obtenir(name){importScript('MediaWiki:Gadget-'+name+'.js');}function TransformeEnDiscussion(){if((wgPageName.search('Wikipédia:Le_Bistro')!=-1)||(wgPageName.search('Wikipédia:Bulletin_des_administrateurs')!=-1)||document.getElementById('transformeEnPageDeDiscussion')){removeClass(document.body,'ns-subject');addClass(document.body,'ns-talk');}}addOnloadHook(TransformeEnDiscussion);function TransformeEnArticle(){var transformeEnA=document.getElementById("transformeEnArticle");if(transformeEnA)document.body.className="ns-0";}addOnloadHook(
TransformeEnArticle);function addCustomButton(imageFile,speedTip,tagOpen,tagClose,sampleText,imageId){mwCustomEditButtons[mwCustomEditButtons.length]={"imageId":imageId,"imageFile":imageFile,"speedTip":speedTip,"tagOpen":tagOpen,"tagClose":tagClose,"sampleText":sampleText};}if(mw.config.get('wgAction')=='edit'||mw.config.get('wgAction')=='submit'){importScript('MediaWiki:Common.js/edit.js');}function rewritePageH1(){var realTitleBanner=document.getElementById('RealTitleBanner');if(realTitleBanner){if(!document.getElementById('DisableRealTitle')){var realTitle=document.getElementById('RealTitle');var h1=document.getElementById('firstHeading');if(!h1)h1=document.getElementsByTagName('h1')[0];var realH1=getTextContent(h1);if(realTitle&&h1){var titleText=realTitle.innerHTML;if(titleText=='')h1.style.display='none';else h1.innerHTML=titleText;realTitleBanner.style.display='none';var avert=document.createElement('p')
avert.style.fontSize='80%';avert.innerHTML='Titre à utiliser pour créer un lien interne : <b>'+realH1.HTMLize()+'</b>';insertAfter(h1.parentNode,avert,h1);}}}}addOnloadHook(rewritePageH1);function IconesDeTitre(){var h1=document.getElementById('firstHeading');if(!h1)h1=document.getElementsByTagName('h1')[0];if(!h1)return;var icones=getElementsByClass("icone_de_titre",document,"div");for(var j=icones.length;j>0;--j){icones[j-1].style.display="block";if((skin=="modern")||(skin=="vector")){icones[j-1].style.marginTop="0em";}h1.parentNode.insertBefore(icones[j-1],h1);}}addOnloadHook(IconesDeTitre);function moveCoord(){var h1=document.getElementById('firstHeading');if(!h1)h1=document.getElementsByTagName('h1')[0];var coord=document.getElementById('coordinates');if(!coord||!h1)return;coord.id="coordinates-title";h1.parentNode.insertBefore(coord,h1);}addOnloadHook(moveCoord);if(typeof(MoveResizeAbsolute_AddMoveArea)!="function")obtenir('MoveResizeAbsolute');function openStreetMap_Init(){var
c=document.getElementById('coordinates-title');if(!c)return;var a=c.getElementsByTagName('a');var geohack=false;for(var i=0;i<a.length;i++){var h=a[i].href;if(!h.match(/geohack/))continue;geohack=true;break;}if(!geohack)return;var na=document.createElement('a');na.href='javascript:openStreetMap_Toggle();';na.title='Afficher/Masquer la carte';na.appendChild(document.createTextNode('carte'));c.appendChild(document.createTextNode(' ('));c.appendChild(na);c.appendChild(document.createTextNode(')   '));}function openStreetMap_Toggle(){var c=document.getElementById('coordinates-title');if(!c)return;var osm=document.getElementById('OpenStreetMap');if(osm){if(osm.style.display=='none'){osm.style.display='block';}else{osm.style.display='none';}return;}var found_link=false;var a=c.getElementsByTagName('a');var h;for(var i=0;i<a.length;i++){h=a[i].href;if(!h.match(/geohack/))continue;found_link=true;break;}if(!found_link)return;h=h.split('params=')[1];var LargeurEcran=
MoveResizeAbsolute_GetScreenWidth();var HauteurEcran=MoveResizeAbsolute_GetScreenHeight();var OSMDiv=document.createElement('div');OSMDiv.id='OpenStreetMap';OSMDiv.style.position="absolute";OSMDiv.style.zIndex=5000;OSMDiv.style.top=(HauteurEcran*10/100)+"px";OSMDiv.style.left=(LargeurEcran*15/100)+"px";OSMDiv.style.width="70%";OSMDiv.style.height=(HauteurEcran*80/100)+"px";OSMDiv.style.border="2px solid black";OSMDiv.style.backgroundColor="white";OSMDiv.style.overflow="hidden";var MoveArea=document.createElement('div');MoveArea.style.position="relative";MoveArea.style.top="0";MoveArea.style.width="100%";MoveArea.style.height="50px";MoveArea.title="Cliquer et glisser pour déplacer la carte";var CloseLink=document.createElement('a');CloseLink.setAttribute("style","float:right;margin:10px;");CloseLink.innerHTML="Masquer";CloseLink.title="Cliquer pour masquer la carte";CloseLink.href="javascript:openStreetMap_Toggle();";MoveArea.appendChild(CloseLink);var iFrame=document.createElement(
'iframe');var url='//toolserver.org/~kolossos/openlayers/kml-on-ol.php?'+'lang='+mw.config.get('wgUserLanguage')+'&params='+h+'&title='+mw.util.wikiUrlencode(mw.config.get('wgTitle'))+(window.location.protocol=='https:'?'&secure=1':'');iFrame.style.width='100%';iFrame.style.height=((HauteurEcran*80/100)-100)+'px';iFrame.style.clear='both';iFrame.src=url;var ResizeArea=document.createElement('div');ResizeArea.style.position="relative";ResizeArea.style.top="0";ResizeArea.style.width="100%";ResizeArea.style.height="50px";ResizeArea.title="Cliquer et glisser pour redimensionner la carte";OSMDiv.appendChild(MoveArea);OSMDiv.appendChild(iFrame);OSMDiv.appendChild(ResizeArea);document.body.appendChild(OSMDiv);var ElementsToMove=new Array(OSMDiv);var ElementsToResize=new Array(OSMDiv,iFrame);var ElementsMinWidth=new Array(150,150);var ElementsMinHeights=new Array(200,100);MoveResizeAbsolute_AddMoveArea(MoveArea,ElementsToMove);MoveResizeAbsolute_AddResizeArea(ResizeArea,ElementsToResize,
ElementsMinWidth,ElementsMinHeights);}addOnloadHook(openStreetMap_Init);function sousTitreH1(){var span=document.getElementById('sous_titre_h1');var title=document.getElementById('firstHeading');if(!title)title=document.getElementsByTagName('h1')[0];if(span&&title){var subtitle=span.cloneNode(true);title.appendChild(document.createTextNode(' '));title.appendChild(subtitle);span.parentNode.removeChild(span);}}addOnloadHook(sousTitreH1);function setModifySectionStyle(element){if(typeof oldEditsectionLinks!=='undefined'&&oldEditsectionLinks){return;}var racine=element?element:document;try{for(var sections=["h1","h2","h3","h4","h5","h6"],i=0;i<6;i++){var list=racine.getElementsByTagName(sections[i]);for(var j=0,l=list.length;j<l;j++){var parent=list[j];var span=parent.firstChild;if(span.className==="editsection"){addClass(parent,"modifiedSectionTitle");parent.appendChild(span);}}}}catch(e){}}addOnloadHook(setModifySectionStyle);var Palette_Enrouler='[masquer]';var Palette_Derouler=
'[afficher]';var Palette_max=1;var Palette_index=-1;function Palette_toggle(indexPalette){var Button=document.getElementById("collapseButton"+indexPalette);var Table=document.getElementById("collapsibleTable"+indexPalette);if(!Table||!Button)return false;var Rows=Table.rows;var RowDisplay="none";if(Button.firstChild.data==Palette_Derouler){Button.firstChild.data=Palette_Enrouler;RowDisplay=Rows[0].style.display;}else{Button.firstChild.data=Palette_Derouler;}for(var i=1;i<Rows.length;i++){Rows[i].style.display=RowDisplay}}function Palette(Element){if(!Element)Element=document;var TableIndex=0;var TableIndexes=new Array();var Tables=Element.getElementsByTagName("table");for(var i=0;i<Tables.length;i++){if(hasClass(Tables[i],"collapsible")){var Table=Tables[i];var Header=Table.getElementsByTagName("tr")[0].getElementsByTagName("th")[0];if(Header){TableIndex++
Palette_index++;TableIndexes[Palette_index]=Table;Table.setAttribute("id","collapsibleTable"+Palette_index);var Button=document.createElement("span");var ButtonLink=document.createElement("a");var ButtonText=document.createTextNode(Palette_Enrouler);Button.className="navboxToggle";ButtonLink.setAttribute("id","collapseButton"+Palette_index);ButtonLink.setAttribute("href","javascript:;");addHandler(ButtonLink,"click",new Function("evt","Palette_toggle("+Palette_index+" ); return killEvt( evt );"));ButtonLink.appendChild(ButtonText);Button.appendChild(document.createTextNode("\u00a0"));Button.appendChild(ButtonLink);Header.insertBefore(Button,Header.childNodes[0]);}}}for(var index in TableIndexes){var Table=TableIndexes[index];if(hasClass(Table,"collapsed")||(TableIndex>Palette_max&&hasClass(Table,"autocollapse")))Palette_toggle(index);}}addOnloadHook(Palette);var BoiteDeroulante_Enrouler='[masquer]';var BoiteDeroulante_Derouler='[afficher]';var BoiteDeroulante_max=0;var
BoiteDeroulante_index=-1;function BoiteDeroulante_toggle(indexBoiteDeroulante){var NavFrame=document.getElementById("NavFrame"+indexBoiteDeroulante);var NavToggle=document.getElementById("NavToggle"+indexBoiteDeroulante);var CaptionContainer=document.getElementById("NavCaption"+indexBoiteDeroulante);if(!NavFrame||!NavToggle||!CaptionContainer)return;var caption=new Array();var CaptionSpans=CaptionContainer.getElementsByTagName('span');caption[0]=CaptionSpans[0].innerHTML;caption[1]=CaptionSpans[1].innerHTML;var Contents=NavFrame.getElementsByTagName('div');if(NavToggle.innerHTML==caption[1]){NavToggle.innerHTML=caption[0];for(var a=0,m=Contents.length;a<m;a++){if(hasClass(Contents[a],"NavContent")){Contents[a].style.display='none';return;}}}else{NavToggle.innerHTML=caption[1];for(var a=0,m=Contents.length;a<m;a++){if(hasClass(Contents[a],"NavContent")){Contents[a].style.display='block';return;}}}}function BoiteDeroulante(Element){if(!Element)Element=document;var NavFrameCount=-1;var
NavFrames=Element.getElementsByTagName("div");for(var i=0,l=NavFrames.length;i<l;i++){if(hasClass(NavFrames[i],"NavFrame")){var NavFrame=NavFrames[i];NavFrameCount++;BoiteDeroulante_index++;if(NavFrame.title&&NavFrame.title.indexOf("/")!=-1){var Enrouler=NavFrame.title.HTMLize().split("/")[1];var Derouler=NavFrame.title.HTMLize().split("/")[0];}else{var Enrouler=BoiteDeroulante_Enrouler;var Derouler=BoiteDeroulante_Derouler;}NavFrame.title='';var CaptionContainer=document.createElement('span');CaptionContainer.id='NavCaption'+BoiteDeroulante_index;CaptionContainer.style.display="none";CaptionContainer.innerHTML='<span>'+Derouler+'</span><span>'+Enrouler+'</span>';NavFrame.appendChild(CaptionContainer);var NavToggle=document.createElement("a");NavToggle.className='NavToggle';NavToggle.id='NavToggle'+BoiteDeroulante_index;NavToggle.href='javascript:BoiteDeroulante_toggle('+BoiteDeroulante_index+');';var NavToggleText=document.createTextNode(Enrouler);NavToggle.appendChild(NavToggleText);
NavFrame.insertBefore(NavToggle,NavFrame.firstChild);NavFrame.id='NavFrame'+BoiteDeroulante_index;if(BoiteDeroulante_max<=NavFrameCount){BoiteDeroulante_toggle(BoiteDeroulante_index);}}}}addOnloadHook(BoiteDeroulante);function toggleImage(group,remindex,shwindex){document.getElementById('ImageGroupsGr'+group+'Im'+remindex).style.display='none';document.getElementById('ImageGroupsGr'+group+'Im'+shwindex).style.display='block';}function imageGroup(cible){if(/^[^#]*[?&](%20)*printable=[^&#]/.test(document.URL)){return;}var conteneur;if(cible){conteneur=cible;}else{conteneur=document.getElementById('bodyContent');if(!conteneur){conteneur=document.getElementById('mw_contentholder');}if(!conteneur){conteneur=document.getElementById('article');}if(!conteneur){return;}}var jGroups=$(conteneur).find('div.ImageGroup');var i,il,j,jl;var jUnits;var currentimage;for(i=0,il=jGroups.length;i<il;i++){jUnits=jGroups.eq(i).find('div.thumb');for(j=0,jl=jUnits.length;j<jl;j++){currentimage=jUnits[j];
currentimage.id='ImageGroupsGr'+i+'Im'+j;var imghead=document.createElement('div');imghead.style.fontSize='110%';var leftArrow=document.createElement('img');leftArrow.src='//upload.wikimedia.org/wikipedia/commons/thumb/4/49/ArrowLeftNavbox.svg/12px-ArrowLeftNavbox.svg.png';leftArrow.width='12';leftArrow.height='12';if(j>0){leftArrow.alt='Précédent';var leftLink=document.createElement('a');leftLink.href='javascript:toggleImage('+i+','+j+','+(j-1)+');';leftLink.title='Image précédente';leftLink.appendChild(leftArrow);imghead.appendChild(leftLink);}else{leftArrow.style.visibility='hidden';imghead.appendChild(leftArrow);}$(imghead).append(' <tt>('+(j+1)+'/'+jl+')</tt> ');var rightArrow=document.createElement('img');rightArrow.src='//upload.wikimedia.org/wikipedia/commons/thumb/1/10/ArrowRightNavbox.svg/12px-ArrowRightNavbox.svg.png';rightArrow.width='12';rightArrow.height='12';if(j<jl-1){rightArrow.alt='Suivant';var rightLink=document.createElement('a');rightLink.href=
'javascript:toggleImage('+i+','+j+','+(j+1)+');';rightLink.title='Image suivante';rightLink.appendChild(rightArrow);imghead.appendChild(rightLink);}else{rightArrow.style.visibility='hidden';imghead.appendChild(rightArrow);}currentimage.insertBefore(imghead,currentimage.childNodes[0]);if(j!==0){currentimage.style.display='none';}}}}$(document).ready(function($){imageGroup();});function dataSortValue(element){var elChilds,elChild,sortValue="",i;elChilds=element.childNodes;for(i=0;i<elChilds.length;i+=1){elChild=elChilds[i];if(hasClass(elChild,"datasortkey")){sortValue+=elChild.getAttribute("data-sort-value");}else if(elChild.nodeType===1&&getElementsByClassName(elChild,'span',"datasortkey").length>0){sortValue+=dataSortValue(elChild);}else{sortValue+=elChild.textContent||elChild.innerText||'';}}return sortValue;}function Add_dataSortValue(){var i,j,cellNodesList,sortTables=getElementsByClassName(document.body,'table',"sortable");if(!sortTables||getElementsByClassName(document.body,'span'
,"datasortkey").length===0){return;}for(i=0;i<sortTables.length;i+=1){cellNodesList=sortTables[i].getElementsByTagName('td');for(j=0;j<cellNodesList.length;j+=1){if(getElementsByClassName(cellNodesList[j],'span',"datasortkey").length>0){cellNodesList[j].setAttribute("data-sort-value",dataSortValue(cellNodesList[j]));}}cellNodesList=sortTables[i].getElementsByTagName('th');for(j=0;j<cellNodesList.length;j+=1){if(getElementsByClassName(cellNodesList[j],'span',"datasortkey").length>0){cellNodesList[j].setAttribute("data-sort-value",dataSortValue(cellNodesList[j]));}}}}addOnloadHook(Add_dataSortValue);var Diaporama=new Object();Diaporama.Params=new Object();Diaporama.Fonctions=new Object();Diaporama.Params.DiaporamaIndex=0;Diaporama.Params.ImageDelay=1;Diaporama.Params.Paused=new Array();Diaporama.Params.Visible=new Array();Diaporama.Params.Length=new Array();Diaporama.Params.Delay=new Array();Diaporama.Params.Timeout=new Array();Diaporama.Fonctions.Init=function(node){if(!node)node=
document;var Diaporamas=getElementsByClassName(node,"div","diaporama");for(var a=0,l=Diaporamas.length;a<l;a++){Diaporama.Fonctions.InitDiaporama(Diaporamas[a]);}}
Diaporama.Fonctions.InitDiaporama=function(DiaporamaDiv){var index=Diaporama.Params.DiaporamaIndex;Diaporama.Params.DiaporamaIndex++;DiaporamaDiv.id="Diaporama_"+index;var DiaporamaFileContainer=getElementsByClassName(DiaporamaDiv,"div","diaporamaFiles")[0];var DiaporamaControl=getElementsByClassName(DiaporamaDiv,"div","diaporamaControl")[0];if(!DiaporamaFileContainer||!DiaporamaControl)return;var DiaporamaFiles=getElementsByClassName(DiaporamaFileContainer,"div","ImageFile");var width;var firstTumbinner=getElementsByClassName(DiaporamaFileContainer,"div","thumbinner")[0];if(firstTumbinner){width=firstTumbinner.style.width.split("px").join("");}else{if(DiaporamaFileContainer.firstChild.firstChild)width=DiaporamaFileContainer.firstChild.firstChild.offsetWidth;}if(width)DiaporamaDiv.style.width=(parseInt(width)+30)+"px";if(DiaporamaFiles.length<2)return;Diaporama.Params.Length[index]=DiaporamaFiles.length;DiaporamaFileContainer.id="DiaporamaFileContainer_"+index;DiaporamaControl.id=
"DiaporamaControl_"+index;Diaporama.Params.Delay[index]=Diaporama.Params.ImageDelay;var DiaporamaDivClass=DiaporamaDiv.className.HTMLize();var ParamDelay=DiaporamaDivClass.match(/Delay[0-9]+(\.|,)?[0-9]*/);if(ParamDelay!=null){ParamDelay=parseFloat(ParamDelay[0].split("Delay").join("").split(",").join("."));if(ParamDelay&&ParamDelay>0)Diaporama.Params.Delay[index]=ParamDelay;}Diaporama.Fonctions.ShowThisDiapo(index,0);var ControlLinks=DiaporamaControl.getElementsByTagName("a");ControlLinks[0].firstChild.id="DiaporamaPlay"+index;ControlLinks[0].href="javascript:Diaporama.Fonctions.Play("+index+");";ControlLinks[1].firstChild.id="DiaporamaPause"+index;ControlLinks[1].href="javascript:Diaporama.Fonctions.Pause("+index+");";ControlLinks[2].firstChild.id="DiaporamaStop"+index;ControlLinks[2].href="javascript:Diaporama.Fonctions.Stop("+index+");";ControlLinks[3].firstChild.id="DiaporamaLast"+index;ControlLinks[3].href="javascript:Diaporama.Fonctions.ToggleDiapo("+index+",-1);";ControlLinks[4
].firstChild.id="DiaporamaNext"+index;ControlLinks[4].href="javascript:Diaporama.Fonctions.ToggleDiapo("+index+", 1);";ControlLinks[5].parentNode.appendChild(Diaporama.Fonctions.CreateSelect(index,ControlLinks[5].title));ControlLinks[5].parentNode.removeChild(ControlLinks[5]);for(var e=0,t=ControlLinks.length;e<t;e++){ControlLinks[e].onmousedown=function(){Diaporama.Fonctions.Onclick(this);};ControlLinks[e].onmouseup=function(){Diaporama.Fonctions.Offclick(this,index);};ControlLinks[e].firstChild.style.backgroundColor="white";ControlLinks[e].onmouseover=function(){this.focus();};}DiaporamaControl.style.display="block";if(hasClass("Autoplay",DiaporamaDiv)){Diaporama.Fonctions.Play(index);}else{Diaporama.Fonctions.Pause(index);}}
Diaporama.Fonctions.Play=function(index){if(Diaporama.Params.Paused[index]===false)return;Diaporama.Params.Paused[index]=false;clearTimeout(Diaporama.Params.Timeout[index]);Diaporama.Params.Timeout[index]=setTimeout("Diaporama.Fonctions.ToggleDiapo("+index+",1);",Diaporama.Params.Delay[index]*1000);var ButtonPlay=document.getElementById("DiaporamaPlay"+index);ButtonPlay.style.backgroundColor="silver";var ButtonPause=document.getElementById("DiaporamaPause"+index);ButtonPause.style.backgroundColor="white";var ButtonStop=document.getElementById("DiaporamaStop"+index);ButtonStop.style.backgroundColor="white";}
Diaporama.Fonctions.Pause=function(index){Diaporama.Params.Paused[index]=true;clearTimeout(Diaporama.Params.Timeout[index]);var ButtonPlay=document.getElementById("DiaporamaPlay"+index);ButtonPlay.style.backgroundColor="white";var ButtonPause=document.getElementById("DiaporamaPause"+index);ButtonPause.style.backgroundColor="silver";var ButtonStop=document.getElementById("DiaporamaStop"+index);ButtonStop.style.backgroundColor="white";}
Diaporama.Fonctions.Stop=function(index){Diaporama.Params.Paused[index]=true;clearTimeout(Diaporama.Params.Timeout[index]);Diaporama.Fonctions.ShowThisDiapo(index,0);var ButtonPlay=document.getElementById("DiaporamaPlay"+index);ButtonPlay.style.backgroundColor="white";var ButtonPause=document.getElementById("DiaporamaPause"+index);ButtonPause.style.backgroundColor="white";var ButtonStop=document.getElementById("DiaporamaStop"+index);ButtonStop.style.backgroundColor="silver";}
Diaporama.Fonctions.ToggleDiapo=function(index,diff){clearTimeout(Diaporama.Params.Timeout[index]);var DiaporamaFileContainer=document.getElementById("DiaporamaFileContainer_"+index);var DiaporamaFiles=getElementsByClassName(DiaporamaFileContainer,"div","ImageFile");var VisibleIndex=Diaporama.Params.Visible[index];var NextDiaporamaIndex=(VisibleIndex+diff);if(NextDiaporamaIndex==DiaporamaFiles.length||NextDiaporamaIndex<0){var DiaporamaDiv=document.getElementById("Diaporama_"+index);if(diff<0||!hasClass("AutoLoop",DiaporamaDiv)){return;}NextDiaporamaIndex=0;}Diaporama.Fonctions.ShowThisDiapo(index,NextDiaporamaIndex);}
Diaporama.Fonctions.ShowThisDiapo=function(index,Value){clearTimeout(Diaporama.Params.Timeout[index]);var DiaporamaFileContainer=document.getElementById("DiaporamaFileContainer_"+index);var DiaporamaFiles=getElementsByClassName(DiaporamaFileContainer,"div","ImageFile");for(var x=0,z=DiaporamaFiles.length;x<z;x++){if(x!=Value){DiaporamaFiles[x].style.display="none";}else{DiaporamaFiles[x].style.display="block";}}Diaporama.Params.Visible[index]=Value;Diaporama.Fonctions.UpdateBar(index);Diaporama.Fonctions.UpdateSelect(index);if(!Diaporama.Params.Paused[index]){var multipl=1;if(Value==(Diaporama.Params.Length[index]-1))multipl=3;Diaporama.Params.Timeout[index]=setTimeout("Diaporama.Fonctions.ToggleDiapo("+index+",1);",Diaporama.Params.Delay[index]*1000*multipl);}}
Diaporama.Fonctions.CreateSelect=function(index,Title){var Total=Diaporama.Params.Length[index];var Select=document.createElement('select');Select.id="DiaporamaSelect"+index;Select.title=Title;for(var s=0;s<Total;s++){var Opt=document.createElement('option');if(s==0)Opt.selected="selected";Opt.text=(s+1)+"/"+Total;Opt.innerHTML=(s+1)+"/"+Total;Opt.value=s;Select.appendChild(Opt);}Select.onchange=function(){Diaporama.Fonctions.SelectDiapo(Diaporama.Fonctions.getIndex(this));};Select.onmouseover=function(){this.focus();};return Select;}
Diaporama.Fonctions.SelectDiapo=function(index){var Select=document.getElementById("DiaporamaSelect"+index);if(!Select)return;var Opts=Select.getElementsByTagName('option');for(var o=0,p=Opts.length;o<p;o++){if(Opts[o].selected){var Value=parseInt(Opts[o].value);return Diaporama.Fonctions.ShowThisDiapo(index,Value);}}}
Diaporama.Fonctions.UpdateSelect=function(index){var Select=document.getElementById("DiaporamaSelect"+index);if(!Select)return;var Opts=Select.getElementsByTagName('option');for(var o=0,p=Opts.length;o<p;o++){if(o==Diaporama.Params.Visible[index]){Opts[o].selected="selected";}else{Opts[o].selected=false;}}}
Diaporama.Fonctions.UpdateBar=function(index){var Percent=(100/(Diaporama.Params.Length[index]-1))*Diaporama.Params.Visible[index];if(Percent>100)Percent=100;var DiaporamaControl=document.getElementById("DiaporamaControl_"+index);var DiaporamaScrollBar=getElementsByClassName(DiaporamaControl,"div","ScrollBar")[0];DiaporamaScrollBar.style.width=Percent+"%";}
Diaporama.Fonctions.Onclick=function(Link){var Image=Link.getElementsByTagName('img')[0];Image.style.backgroundColor="gray";}
Diaporama.Fonctions.Offclick=function(Link,index){var Span=Link.parentNode;var SpanClass=Span.className;var Image=Link.getElementsByTagName('img')[0];var DiapoState=Diaporama.Params.Paused[index];if((hasClass("Play",Span)&&DiapoState==false)||((hasClass("Pause",Span)||hasClass("Stop",Span))&&DiapoState==true)){Image.style.backgroundColor="silver";}else{Image.style.backgroundColor="white";}}
Diaporama.Fonctions.getIndex=function(Element){return parseInt(Element.id.replace(/[^0-9]/g,""));}
$(document).ready(function($){Diaporama.Fonctions.Init();});function lienAdQouBAouPdQ(){if(document.getElementById("p-lang")){var InterwikiLinks=document.getElementById("p-lang").getElementsByTagName("li");for(var i=0;i<InterwikiLinks.length;i++){if(document.getElementById(InterwikiLinks[i].className+"-adq")){InterwikiLinks[i].className+=" AdQ"
InterwikiLinks[i].title="Lien vers un article de qualité.";}else if(document.getElementById(InterwikiLinks[i].className+"-ba")){InterwikiLinks[i].className+=" BA"
InterwikiLinks[i].title="Lien vers un bon article.";}else if(document.getElementById(InterwikiLinks[i].className+"-pdq")){InterwikiLinks[i].className+=" PdQ"
InterwikiLinks[i].title="Lien vers un portail de qualité.";}}}}addOnloadHook(lienAdQouBAouPdQ);function hiddencat(){if(typeof(DesactiveHiddenCat)!="undefined"&&DesactiveHiddenCat)return;if(document.URL.indexOf("printable=yes")!=-1)return;var cl=document.getElementById('catlinks');if(!cl)return;if(!(hc=document.getElementById('mw-hidden-catlinks')))return;if(hasClass(hc,'mw-hidden-cats-user-shown'))return;if(hasClass(hc,'mw-hidden-cats-ns-shown'))addClass(hc,'mw-hidden-cats-hidden');var nc=document.getElementById('mw-normal-catlinks');if(!nc){var catline=document.createElement('div');catline.id='mw-normal-catlinks';var a=document.createElement('a');a.href='/wiki/Catégorie:Accueil';a.title='Catégorie:Accueil';a.appendChild(document.createTextNode('Catégories'));catline.appendChild(a);catline.appendChild(document.createTextNode(' : '));nc=cl.insertBefore(catline,cl.firstChild);}else nc.appendChild(document.createTextNode(' | '));var lnk=document.createElement('a');lnk.id=
'mw-hidden-cats-link';lnk.title='Cet article contient des catégories cachées';lnk.style.cursor='pointer';lnk.style.color='black';lnk.onclick=toggleHiddenCats;lnk.appendChild(document.createTextNode('[+]'));hclink=nc.appendChild(lnk);}function toggleHiddenCats(){if(hasClass(hc,'mw-hidden-cats-hidden')){removeClass(hc,'mw-hidden-cats-hidden');addClass(hc,'mw-hidden-cat-user-shown');changeText(hclink,'[–]');}else{removeClass(hc,'mw-hidden-cat-user-shown');addClass(hc,'mw-hidden-cats-hidden');changeText(hclink,'[+]');}}addOnloadHook(hiddencat);if((mw.config.get('wgAction')=="view"||mw.config.get('wgAction')=="purge"||mw.config.get('wgAction')=="submit"))addOnloadHook(GeoBox_Init);function GeoBox_Init(Element){if(!Element)Element=document.body;var cont=getElementsByClass('img_toogle',Element,'div');if(cont.length==0)return;for(var i=0,m=cont.length;i<m;i++){cont[i].id='img_toogle_'+i;var Boxes=getElementsByClass('geobox',cont[i]);var ToggleLinksDiv=document.createElement('ul');
ToggleLinksDiv.id='geoboxToggleLinks_'+i;for(var a=0,l=Boxes.length;a<l;a++){var ThisBox=Boxes[a];ThisBox.id='geobox_'+i+"_"+a;ThisBox.style.borderTop='0';var ThisAlt=ThisBox.getElementsByTagName('img')[0].alt
var toggle=document.createElement('a');toggle.id='geoboxToggle_'+i+"_"+a;toggle.appendChild(document.createTextNode(ThisAlt));toggle.href='javascript:;';toggle.onclick=function(){GeoBox_Toggle(this);return false;}
var Li=document.createElement('li');Li.appendChild(toggle);ToggleLinksDiv.appendChild(Li);if(a==(l-1)){Li.style.display="none";}else{ThisBox.style.display="none";}}cont[i].appendChild(ToggleLinksDiv);}}function GeoBox_Toggle(link){var ImgToggleIndex=link.id.split('geoboxToggle_').join('').replace(/_.*/g,"");var GeoBoxIndex=link.id.replace(/.*_/g,"");var ImageToggle=document.getElementById('img_toogle_'+ImgToggleIndex);var Links=document.getElementById('geoboxToggleLinks_'+ImgToggleIndex);var Geobox=document.getElementById('geobox_'+ImgToggleIndex+"_"+GeoBoxIndex);var Link=document.getElementById('geoboxToggle_'+ImgToggleIndex+"_"+GeoBoxIndex);if((!ImageToggle)||(!Links)||(!Geobox)||(!Link))return;var AllGeoboxes=getElementsByClass('geobox',ImageToggle);for(var a=0,l=AllGeoboxes.length;a<l;a++){if(AllGeoboxes[a]==Geobox){AllGeoboxes[a].style.display="";}else{AllGeoboxes[a].style.display="none";}}var AllToggleLinks=Links.getElementsByTagName('a');for(var a=0,l=AllToggleLinks.length;a<l;a++
){if(AllToggleLinks[a]==Link){AllToggleLinks[a].parentNode.style.display="none";}else{AllToggleLinks[a].parentNode.style.display="";}}}function rewritePageH1bis(){try{var helpPage=document.getElementById("helpPage");if(helpPage){var helpPageURL=document.getElementById("helpPageURL");var h1=document.getElementById('firstHeading');if(helpPageURL&&h1){h1.innerHTML=h1.innerHTML+'<span id="h1-helpPage">'+helpPageURL.innerHTML+'</span>';helpPage.style.display="none";}}}catch(e){}}addOnloadHook(rewritePageH1bis);function addcache(element){if(typeof no_external_cache!=="undefined"&&no_external_cache){return;}var liens=element?$(element).find('ol.references').find('a.external'):$('ol.references').find('a.external');for(var i=0,l=liens.length;i<l;i++){var lien_en_cours=liens[i];var chemin=lien_en_cours.href;if(chemin.indexOf("http://archive.wikiwix.com/cache/")>-1||chemin.indexOf("http://web.archive.org/web/")>-1||chemin.indexOf("wikipedia.org")>-1||chemin.indexOf("wikimedia.org")>-1||chemin.
indexOf("stable.toolserver.org")>-1){continue;}var element_parent=lien_en_cours.parentNode;if(hasClass(element_parent,"noarchive")){continue;}var titre=getTextContent(lien_en_cours);var last=document.createElement("small");last.className="cachelinks";last.appendChild(document.createTextNode("\u00a0["));var link=document.createElement("a");link.setAttribute("href","http://archive.wikiwix.com/cache/?url="+chemin.replace(/%/g,"%25").replace(/&/g,"%26")+"&title="+encodeURIComponent(titre));link.setAttribute("title","archive de "+titre);link.appendChild(document.createTextNode("archive"));last.appendChild(link);last.appendChild(document.createTextNode("]"));element_parent.insertBefore(last,lien_en_cours.nextSibling);}}if(mw.config.get('wgNamespaceNumber')===0){addOnloadHook(addcache);}$(document).ready(function($){$('.sortable th').attr('tabindex',0).keypress(function(event){if(event.which==13){$(this).click()}});});if(mw.config.get('wgNamespaceNumber',0)>=0){$(document).ready(function(){
var commonsBase=mw.config.get('wgServer')==="https://secure.wikimedia.org"?'/wikipedia/commons/wiki/File:':'//commons.wikimedia.org/wiki/File:',localBase=mw.util.wikiGetlink(mw.config.get('wgFormattedNamespaces')['6']+':'),uploadBaseRe=new RegExp('^'+$.escapeRE('//upload.wikimedia.org/wikipedia/commons/'));$('a.image').attr('href',function(i,currVal){if(uploadBaseRe.test($(this).find('img').attr('src'))){return currVal.replace(localBase,commonsBase);}});});}if(mw.config.get('wgFormattedNamespaces')[mw.config.get('wgNamespaceNumber')]+":"+mw.config.get('wgTitle')==mw.config.get('wgMainPageTitle')){function mainPageTransform(){$('#ca-nstab-project a').text('Accueil');addPortletLink('p-lang','//www.wikipedia.org/','Liste complète','interwiki-listecomplete','Liste complète des Wikipédias');}addOnloadHook(mainPageTransform);}if(mw.config.get('wgNamespaceNumber')==-1){function externalSearchEngines(){if(typeof SpecialSearchEnhanced2Disabled!='undefined')return;if(mw.config.get(
'wgCanonicalSpecialPageName')!="Search")return;var mainNode=document.getElementById("powersearch");if(!mainNode)mainNode=document.getElementById("search");if(!mainNode)return;var beforeNode=document.getElementById("mw-search-top-table");if(!beforeNode)return;beforeNode=beforeNode.nextSibling;if(!beforeNode)return;var firstEngine="mediawiki";var choices=document.createElement("div");choices.setAttribute("id","searchengineChoices");choices.style.textAlign="center";var lsearchbox=document.getElementById("searchText");if(!lsearchbox)return;var initValue=lsearchbox.value;var space="";for(var id in searchEngines){var engine=searchEngines[id];if(engine.ShortName){if(space)choices.appendChild(space);space=document.createTextNode(" ");var attr={type:"radio",name:"searchengineselect",value:id,onFocus:"changeSearchEngine(this.value)",id:"searchengineRadio-"+id};var html="<input";for(var a in attr)html+=" "+a+"='"+attr[a]+"'";html+=" />";var span=document.createElement("span");span.innerHTML=html;
choices.appendChild(span);var label=document.createElement("label");label.htmlFor="searchengineRadio-"+id;if(engine.Template.indexOf('http')==0){var lienMoteur=document.createElement("a");lienMoteur.href=engine.Template.replace("{searchTerms}",initValue).replace("{language}","fr");lienMoteur.appendChild(document.createTextNode(engine.ShortName));label.appendChild(lienMoteur);}else{label.appendChild(document.createTextNode(engine.ShortName));}choices.appendChild(label);}}mainNode.insertBefore(choices,beforeNode);var input=document.createElement("input");input.id="searchengineextraparam";input.type="hidden";mainNode.insertBefore(input,beforeNode);changeSearchEngine(firstEngine,initValue);}function changeSearchEngine(selectedId,searchTerms){var currentId=document.getElementById("searchengineChoices").currentChoice;if(selectedId==currentId)return;document.getElementById("searchengineChoices").currentChoice=selectedId;var radio=document.getElementById('searchengineRadio-'+selectedId);radio.
checked="checked";var engine=searchEngines[selectedId];var p=engine.Template.indexOf('?');var params=engine.Template.substr(p+1);var form;if(document.forms["search"]){form=document.forms["search"];}else{form=document.getElementById("powersearch");}form.setAttribute("action",engine.Template.substr(0,p));var l=(""+params).split("&");for(var idx=0;idx<l.length;idx++){var p=l[idx].split("=");var pValue=p[1];if(pValue=="{language}"){}else if(pValue=="{searchTerms}"){var input;input=document.getElementById("searchText");input.name=p[0];}else{var input=document.getElementById("searchengineextraparam");input.name=p[0];input.value=pValue;}}}if(mw.config.get('wgCanonicalSpecialPageName')=="Search"){var searchEngines={mediawiki:{ShortName:"Recherche interne",Template:mw.config.get('wgScript')+"?search={searchTerms}"},exalead:{ShortName:"Exalead",Template:"http://www.exalead.com/search/wikipedia/results/?q={searchTerms}&language=fr"},google:{ShortName:"Google",Template:
"http://www.google.fr/search?as_sitesearch=fr.wikipedia.org&hl={language}&q={searchTerms}"},wikiwix:{ShortName:"Wikiwix",Template:"http://fr.wikiwix.com/index.php?action={searchTerms}&lang={language}"},wlive:{ShortName:"Bing",Template:"http://www.bing.com/search?q={searchTerms}&q1=site:http://fr.wikipedia.org"},yahoo:{ShortName:"Yahoo!",Template:"http://fr.search.yahoo.com/search?p={searchTerms}&vs=fr.wikipedia.org"},globalwpsearch:{ShortName:"Global WP",Template:"http://vs.aka-online.de/cgi-bin/globalwpsearch.pl?timeout=120&search={searchTerms}"}};addOnloadHook(externalSearchEngines);}if(mw.config.get('wgCanonicalSpecialPageName')=="Upload"){importScript("MediaWiki:Onlyifuploading.js");}}if(mw.config.get('wgNamespaceNumber')==2){function CadreOngletInitN(){var Classeurs=$('div.classeur')
for(var i=0;i<Classeurs.length;i++){var Classeur=Classeurs[i];Classeur.setAttribute("id","classeur"+i);var vOgIni=-1
var Onglets=$(Classeur).children("div").eq(0).children("div");var Feuillets=$(Classeur).children("div").eq(1).children("div");for(var j=0;j<Onglets.length;j++){var Onglet=Onglets[j];var Feuillet=Feuillets[j];Onglet.setAttribute("id","classeur"+i+"onglet"+j);Feuillet.setAttribute("id","classeur"+i+"feuillet"+j);Onglet.onclick=CadreOngletVoirOngletN;if(hasClass(Onglet,"ongletBoutonSel"))vOgIni=j;}if(vOgIni==-1){var vOgIni=Math.floor((Onglets.length)*Math.random());document.getElementById("classeur"+i+"feuillet"+vOgIni).style.display="block";document.getElementById("classeur"+i+"feuillet"+vOgIni).style.visibility="visible";var vBtElem=document.getElementById("classeur"+i+"onglet"+vOgIni);removeClass(Onglet,"ongletBoutonNonSel");addClass(Onglet,"ongletBoutonSel");vBtElem.style.cursor="default";vBtElem.style.backgroundColor="inherit";vBtElem.style.borderTopColor="inherit";vBtElem.style.borderRightColor="inherit";vBtElem.style.borderBottomColor="inherit";vBtElem.style.borderLeftColor=
"inherit";}}}function CadreOngletVoirOngletN(){var vOngletNom=this.id.substr(0,this.id.indexOf("onglet",1));var vOngletIndex=this.id.substr(this.id.indexOf("onglet",0)+6,this.id.length);var rule1=$('#'+vOngletNom+' .ongletBoutonNonSel')[0].style.backgroundColor.toString();var rule2=$('#'+vOngletNom+' .ongletBoutonNonSel')[0].style.borderColor.toString();var Onglets=$('#'+vOngletNom).children("div").eq(0).children("div")
for(var j=0;j<Onglets.length;j++){var Onglet=Onglets[j];var Feuillet=document.getElementById(vOngletNom+"feuillet"+j);if(vOngletIndex==j){Feuillet.style.display="block";Feuillet.style.visibility="visible";removeClass(Onglet,"ongletBoutonNonSel");addClass(Onglet,"ongletBoutonSel");Onglet.style.cursor="default";Onglet.style.backgroundColor="inherit";Onglet.style.borderTopColor="inherit";Onglet.style.borderRightColor="inherit";Onglet.style.borderBottomColor="inherit";Onglet.style.borderLeftColor="inherit";}else{Feuillet.style.display="none";Feuillet.style.visibility="hidden";removeClass(Onglet,"ongletBoutonSel");addClass(Onglet,"ongletBoutonNonSel");Onglet.style.cursor="pointer";Onglet.style.backgroundColor=rule1;Onglet.style.borderColor=rule2;}}return false;}addOnloadHook(CadreOngletInitN);}if(mw.config.get('wgNamespaceNumber')==104){function addBibSubsetMenu(){var specialBib=document.getElementById('specialBib');if(!specialBib)return;specialBib.style.display='block';menu=
'<select style="display:inline;" onChange="chooseBibSubset(selectedIndex)">'+'<option>Liste</option>'+'<option>WikiNorme</option>'+'<option>BibTeX</option>'+'<option>ISBD</option>'+'<option>ISO690</option>'+'</select>';specialBib.innerHTML=specialBib.innerHTML+menu;chooseBibSubset(0);}function chooseBibSubset(s){var l=document.getElementsByTagName('div');for(var i=0;i<l.length;i++){if(l[i].className=='BibList')l[i].style.display=s==0?'block':'none';else if(l[i].className=='WikiNorme')l[i].style.display=s==1?'block':'none';else if(l[i].className=='BibTeX')l[i].style.display=s==2?'block':'none';else if(l[i].className=='ISBD')l[i].style.display=s==3?'block':'none';else if(l[i].className=='ISO690')l[i].style.display=s==4?'block':'none';}}addOnloadHook(addBibSubsetMenu);}function Rebours(){if(mw.config.get('wgNamespaceNumber')==0)return;try{if(document.getElementById("rebours")){destime=document.getElementById("rebours").title.HTMLize().split(";;");Maintenant=(new Date).getTime();Future=new
Date(Date.UTC(destime[0],(destime[1]-1),destime[2],destime[3],destime[4],destime[5])).getTime();Diff=(Future-Maintenant);if(Diff<0){Diff=0}TempsRestantJ=Math.floor(Diff/(24*3600*1000));TempsRestantH=Math.floor(Diff/(3600*1000))%24;TempsRestantM=Math.floor(Diff/(60*1000))%60;TempsRestantS=Math.floor(Diff/1000)%60;TempsRestant=""+destime[6]+" ";if(TempsRestantJ==1){TempsRestant=TempsRestant+TempsRestantJ+" jour ";}else if(TempsRestantJ>1){TempsRestant=TempsRestant+TempsRestantJ+" jours ";}TempsRestant=TempsRestant+TempsRestantH+" h "+TempsRestantM+" min "+TempsRestantS+" s";document.getElementById("rebours").innerHTML=TempsRestant;setTimeout("Rebours()",1000)}}catch(e){}}addOnloadHook(Rebours);function LastModCopy(){var LastModSpan=document.getElementById('lastmod');if(!LastModSpan)LastModSpan=document.getElementById('footer-info-lastmod');var LastModBandeau=document.getElementById("lastmodcopy");if((!LastModSpan)||(!LastModBandeau))return;LastModBandeau.innerHTML=LastModSpan.innerHTML;}
addOnloadHook(LastModCopy);function getVarValue(nom_variable,val_defaut){var result=null;try{result=eval(nom_variable.toString());}catch(e){result=val_defaut;}return(result);}function getStrDateToday(format){var str_mois=new Array();with(str_mois){push("janvier");push("février");push("mars");push("avril");push("mai");push("juin");push("juillet");push("août");push("septembre");push("octobre");push("novembre");push("décembre");}var today=new Date();var day=today.getDate();var year=today.getYear();if(year<2000){year=year+1900;}var str_date=format;var regex=/j/gi;str_date=str_date.replace(regex,day.toString());regex=/a/gi;str_date=str_date.replace(regex,year.toString());regex=/m/gi;str_date=str_date.replace(regex,str_mois[today.getMonth()]);return(str_date);}function createAdressNode(href,texte,onclick){var a=document.createElement('a')
a.href=href
a.appendChild(document.createTextNode(texte))
if(arguments.length==3){a.setAttribute("onclick",onclick)}return a}function setCookie(nom,valeur,duree){var expDate=new Date()
expDate.setTime(expDate.getTime()+(duree*24*60*60*1000))
document.cookie=nom+"="+escape(valeur)+";expires="+expDate.toGMTString()+";path=/"};mw.loader.state({"site":"ready"});
/* cache key: frwiki:resourceloader:filter:minify-js:7:4a7e1b7eccc9b0395d5b12d749165a6e */